USE [TP_AI_Telefonia]
GO

/****** Object:  Table [dbo].[Numeros]    Script Date: 11/7/2012 9:45:55 PM ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[Numeros](
	[NumeroId] [int] IDENTITY(1,1) NOT NULL,
	[CodPais] [int] NOT NULL,
	[Disponible] [bit] NOT NULL,
	[Numero] [int] NOT NULL,
	[CodArea] [int] NOT NULL,
 CONSTRAINT [PK_Numeros] PRIMARY KEY CLUSTERED 
(
	[NumeroId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]

GO

ALTER TABLE [dbo].[Numeros] ADD  CONSTRAINT [DF_Numeros_Disponible]  DEFAULT ((1)) FOR [Disponible]
GO

